package pers.xx.sbm.entity;

import java.util.Date;

public class Permission {
    private Integer id;

    private String permissionName;

    private String permissionCode;

    private String permissionUrl;

    private Integer permissionReqMethod;

    private Integer permissionOfMenuId;

    private Integer permissionIsEnable;

    private Integer permissionAddbyId;

    private String permissionAddby;

    private Date permissionAddTime;

    private Integer permissionUpdatebyId;

    private String permissionUpdateby;

    private Date permissionUpdateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public String getPermissionUrl() {
        return permissionUrl;
    }

    public void setPermissionUrl(String permissionUrl) {
        this.permissionUrl = permissionUrl;
    }

    public Integer getPermissionReqMethod() {
        return permissionReqMethod;
    }

    public void setPermissionReqMethod(Integer permissionReqMethod) {
        this.permissionReqMethod = permissionReqMethod;
    }

    public Integer getPermissionOfMenuId() {
        return permissionOfMenuId;
    }

    public void setPermissionOfMenuId(Integer permissionOfMenuId) {
        this.permissionOfMenuId = permissionOfMenuId;
    }

    public Integer getPermissionIsEnable() {
        return permissionIsEnable;
    }

    public void setPermissionIsEnable(Integer permissionIsEnable) {
        this.permissionIsEnable = permissionIsEnable;
    }

    public Integer getPermissionAddbyId() {
        return permissionAddbyId;
    }

    public void setPermissionAddbyId(Integer permissionAddbyId) {
        this.permissionAddbyId = permissionAddbyId;
    }

    public String getPermissionAddby() {
        return permissionAddby;
    }

    public void setPermissionAddby(String permissionAddby) {
        this.permissionAddby = permissionAddby;
    }

    public Date getPermissionAddTime() {
        return permissionAddTime;
    }

    public void setPermissionAddTime(Date permissionAddTime) {
        this.permissionAddTime = permissionAddTime;
    }

    public Integer getPermissionUpdatebyId() {
        return permissionUpdatebyId;
    }

    public void setPermissionUpdatebyId(Integer permissionUpdatebyId) {
        this.permissionUpdatebyId = permissionUpdatebyId;
    }

    public String getPermissionUpdateby() {
        return permissionUpdateby;
    }

    public void setPermissionUpdateby(String permissionUpdateby) {
        this.permissionUpdateby = permissionUpdateby;
    }

    public Date getPermissionUpdateTime() {
        return permissionUpdateTime;
    }

    public void setPermissionUpdateTime(Date permissionUpdateTime) {
        this.permissionUpdateTime = permissionUpdateTime;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id=" + id +
                ", permissionName='" + permissionName + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", permissionUrl='" + permissionUrl + '\'' +
                ", permissionReqMethod=" + permissionReqMethod +
                ", permissionOfMenuId=" + permissionOfMenuId +
                ", permissionIsEnable=" + permissionIsEnable +
                ", permissionAddbyId=" + permissionAddbyId +
                ", permissionAddby='" + permissionAddby + '\'' +
                ", permissionAddTime=" + permissionAddTime +
                ", permissionUpdatebyId=" + permissionUpdatebyId +
                ", permissionUpdateby='" + permissionUpdateby + '\'' +
                ", permissionUpdateTime=" + permissionUpdateTime +
                '}';
    }
}